package com.edu.service.impl;

import com.edu.javaBean.RegistLevel;
import com.edu.mapper.RegistLevelMapper;
import com.edu.mapper.RegisterMapper;
import com.edu.service.RegtLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RegtLevelServiceImpl implements RegtLevelService {
    @Autowired
    private RegistLevelMapper registLevelMapper;
    @Override
    public List<RegistLevel> getSchedDocRegistlev(int userid) {
        return registLevelMapper.getSchedDocRegistlev(userid);
    }

    @Override
    public int getRegistQuotaByUserId(int userid) {
        return registLevelMapper.getRegistQuotaByUserId(userid);
    }
}
